package domain.entities;


public class EntityFactory {
    
  public static Class<? extends IEntity> getEntityClass(EntitiesEnum entityType){
    if (entityType.compareTo(EntitiesEnum.ESUB) == 0)  
      return ESub.class;
    else 
      return null;
    
  }
}
